package middol.test

import middolauditlog.Auditable
import middolauditlog.Stampable
import middollogicaldelete.LogicalDelete

import java.time.LocalDate
import java.time.LocalDateTime
import java.time.LocalTime

/**
* @Description:    下拉框数据
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/9/15 16:57
* @Version:        1.0
*/
class Test implements Serializable, Stampable<Test>, Auditable, LogicalDelete<Test>{

    String code
    String name
    LocalDate date
    LocalTime time
    LocalDateTime dateTime

    static constraints = {
    }

    static mapping = {
        code index: "code_index"
    }
}
